<template>
  <div id="app">
    <div id="nav" v-show="$route.name!='Search'">
      <router-link to="/" class="el-icon-s-home">
       <p>首页</p>
      </router-link>
      <router-link to="/design" class="el-icon-platform-eleme">
       <p>我的设计</p>
      </router-link>
      <router-link to="/personal" class="el-icon-s-help">
       <p>个人中心</p>
      </router-link>
    </div>
    <router-view/>
  </div>
</template>
<script>
export default {
 
}
</script>
<style>
*{
  margin: 0px;
  padding: 0px;
}
body{
  margin: 0px;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  position: relative;
  width: 98vw;
  height: 100vh;
}

#nav {
  width: 101%;
  height: 50px;
  position: fixed;
  bottom: 0px;
  background-color: #fff;
}
#nav p{
  margin: 0px;
  margin-top: 10px;
}

#nav a {
  text-decoration: none;
  width: 33.3%;
  height: 40px;
  font-weight: bold;
  color: #2c3e50;
}
::-webkit-scrollbar {
  display: none;
}
</style>
